@import "src/style/modules";

.time-machine-queries {
  width: 100%;
  height: 100%;
  display: inline-flex;
  flex-direction: column;
}

.time-machine-queries--controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 4px solid $g3-castle;
  background: $g2-kevlar;
  padding: 8px 10px 0 10px;
  width: 100%;
}

.time-machine-queries--tabs {
  display: inline-flex;
  height: 38px;
  margin-right: $ix-marg-b;
  position: relative;
  flex: 1 1 auto;
  overflow-x: auto;
  
  &::-webkit-scrollbar {
    height: 0;
    width: 0;
  }
}

.time-machine-queries--new {
  margin: 8px 5px 0 5px;
  flex: 0 0 auto;
}

.time-machine-queries--buttons {
  display: inline-flex;
  justify-content: flex-end;
  flex: 0 0 auto;

  & > * {
    margin-left: 5px;
  }
}

.time-machine-queries--body {
  flex-grow: 1;
  position: relative;
}

.time-machine-influxql-editor {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}